Release 10.1A: OpenEdge Development:
Progress 4GL Reference
EXTENT function
This function returns the extent of an array field or variable. More specifically, it returns:
- The constant or variable extent value for a field or variable defined as a determinate array.
- The Unknown value (
?) for a field or variable defined as an unfixed indeterminate array.- The extent for a field or variable defined as a fixed indeterminate array.
Note: The EXTENT function corresponds to the EXTENT attribute.- Zero for a field or variable that is not an array.
Syntax
arrayAny array field or variable.
ExampleIn the following example, the EXTENT function is used to set the limit of a DO loop that cycles through all elements of an array:
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |